package com.tjetc.dao;

import com.tjetc.pojo.entity.Income;
import com.tjetc.pojo.vo.CountVO;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author: itda
 * @Date: 2024/5/11 22:04
 * @Description: ExcelDao
 */
public interface ExcelDao {
    /**
     * 根据时间获取当前的收入
     * @param start
     * @param end
     * @return
     */
    List<Income> getCostByTime(LocalDateTime start, LocalDateTime end) throws Exception;

    /**
     * 查询各个酒店至今为止的所有收入
     * @param now
     * @return
     */
    List<CountVO> getCountCostByTime(LocalDateTime now) throws Exception;
}
